import request from '@/utils/request'

// 获取博客列表
export function getBlogList(query) {
  return request({
    url: '/web/blog/list',
    headers: {
      isToken: false
    },
    params: query,
    method: 'get',
    timeout: 20000
  })
}
export function getBlogDetail(query) {
  return request({
    url: '/web/blog/'+query,
    headers: {
      isToken: false
    },
    method: 'get',
    timeout: 20000
  })
}
